package com.hsy.baoinbao.common;

/**
 * Created by hsy on 2016/3/23.
 */
public class Consts {

    public static final boolean DEBUG = true;

    public static final String API_IMAGE_FOLDER = "http://bzb.dev.hsydev.com/Upload/image/";
    public static final String API_IMAGE_FOLDER_MIDDLE = "http://bzb.dev.hsydev.com/Upload/image_md/";
    public static final String API_IMAGE_FOLDER_SMALL = "http://bzb.dev.hsydev.com/Upload/image_sm/";

    public static final String API_LOGIN = Config.API_SERVER + "Auth/login.json";
    public static final String API_FORGET_PASSWORD = Config.API_SERVER + "Auth/forget";
    public static final String API_SEND_SMS = Config.API_SERVER + "Auth/sendSms";
    public static final String API_GET_MER_LIST = Config.API_SERVER + "Auth/getMerchantList";


    public static final String API_GET_GOODS_LIST = Config.API_SERVER + "Mall/lists.json";
    public static final String API_GET_GOODS_DETAIL = Config.API_SERVER + "Mall/detail.json";

    public static final String API_GET_RECYCLE_LIST = Config.API_SERVER + "Order/lists.json";
    public static final String API_GET_RECYCLE_DETAIL = Config.API_SERVER + "";

    public static final String API_GET_NOTICE_LIST = Config.API_SERVER + "Notice/lists.json";
    public static final String API_GET_NOTICE_DETAIL = Config.API_SERVER + "Notice/detail.json";

    public static final String API_GET_PERSONAL_DATA = Config.API_SERVER + "User/info.json";
    public static final String API_PHONE = Config.API_SERVER + "User/phone";

    public static final String API_FAIL_RECYCLE_ORDER = Config.API_SERVER + "Order/detailAn";
    public static final String API_COMMIT_RECYCLE_ORDER = Config.API_SERVER + "Order/ok.json";
    public static final String API_CANCEL = Config.API_SERVER + "Order/cancel";
    public static final String API_MERCHANT_CONFIRM = Config.API_SERVER + "Order/merchantConfirm";

    public static final String KEY_TOKEN = "key_token";
    public static final String ERROR = "error";
    public static final String MSG = "msg";
    public static final String RESULT = "result";
    public static final int TYPE_CODE_ERROR = 0;
    public static final int TYPE_NETWORK_ERROR = 1;
    public static final String USER_NAME = "username";
    public static final String USER_PASSWORD = "password";
    public static final String TOKEN = "token";
    public static final String ID = "id";
    public static final String STATUS = "status";
    public static final String FIRST_ROW = "firstRow";
    public static final String LIST_ROWS = "listRows";
    //   fragment person
    public static final String API_PERSON_USER_INFO = Config.API_SERVER + "User/info";
    public static final String API_PERSON_ABOUT_US = Config.API_SERVER + "Base/about";
    public static final String API_PERSON_CONTACT_CUSTOMER = Config.API_SERVER + "Base/contact";
    public static final String API_PERSON_CHANGE_PHONE = Config.API_SERVER + "User/phone";

    public static final String TO_SHOW_FRAGMENT = "TO_SHOW_FRAGMENT";
    public static final String PROCESS_NAME_BIB = "com.hsy.baoinbao";
    public static final String UID = "uid";


    public static final String API_POST_ORDER_SEARCH = Config.API_SERVER + "Order/searchMerchant";
    public static final String API_POST_ORDER_CONFIRM = Config.API_SERVER + "Order/merchantConfirm";
    public static final String API_POST_ORDER_SEARCH_VAGUE = Config.API_SERVER + "Order/searchMerchantVague";

    public static final String API_GET_MALL_LIST = Config.API_SERVER + "Mall/goodsList";
    public static final String API_GET_MALL_CONFIRM = Config.API_SERVER + "Mall/merchantConfirm";
    public static final String API_GET_MALL_DETAIL = Config.API_SERVER + "Mall/detail";
    public static final String API_GET_MALL_OK = Config.API_SERVER + "Mall/ok";
    public static final String API_GET_MALL_LISTS = Config.API_SERVER + "Mall/lists";
    public static final String API_MALL_SEARCH_MERCHANT = Config.API_SERVER + "Mall/searchMerchant";

    public static final String API_STROAGE_DETAIL = Config.API_SERVER + "StroageInput/detail";
    public static final String API_STROAGE_LISTS = Config.API_SERVER + "StroageInput/lists";

    public static final String JUMP_TO_CYCLE_DONE = "JUMP_TO_CYCLE_DONE";
    public static final String JUMP_TO_CYCLE_CANCEL = "JUMP_TO_CYCLE_CANCEL";
}
